﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Champ
{
    class AI:Player
    {
        //When initialized the AI
        public AI(Texture[] playerTextures)
        {
            Random random = new Random();
            int temp = random.Next(0, 3);

            //= temp;
        }
        
        //Chooses which side the ai will be on. -1 is against, 0 is neither, 1 is with 
        public override void ChooseSide()
        {
            Random random = new Random();
            int temp = random.Next(0, 3);
            side = temp-1;
            done = true;
        }
        public override void HandleInventory()
        {
            done = true;
        }

        public override void Looting()
        {
            done = true;
        }
    }
}
/*AI Psuedocode
 * variable like
 * variable dislike
 * if (like-dislike = 0) then choose random side between 1 for, 1 against, 2 neutral
 * 
 * if ((like-dislike > 2) && CurrentPlayer.level != 9){choose side for}
 * 
 * if ((like-dislike > 2) && CurrentPlayer.level > (AI.level - 2)){choose side against} 
 * 
 * Need discussion in class before continuing
*/